package com.saturdaycoder.volumeman;

public class Profile {
	public final static int MAX_VOICE = 7;
	public final static int MAX_MEDIA = 15;
	public final static int MAX_RINGER = 7;
	public final static int MAX_ALERT = 7;
	public final static int MAX_SYSTEM = 7;
	public final static int MAX_ALARM = 7;
	
	public int voice; 
	public int media; 
	public int ringer;
	public boolean vibrateRinger;
	public boolean useRingerAsAlert;
	public int alert;
	public boolean vibrateAlert;
	public int system;
	public int alarm;
	
	public static Profile[] defaultProfiles;
	static {
		defaultProfiles = new Profile[5];
		
		defaultProfiles[0] = new Profile();
		defaultProfiles[0].voice = 7;
		defaultProfiles[0].media = 15;
		defaultProfiles[0].ringer = 7;
		defaultProfiles[0].vibrateAlert = true;
		defaultProfiles[0].useRingerAsAlert = true;
		defaultProfiles[0].alert = 7;
		defaultProfiles[0].vibrateAlert = true;
		defaultProfiles[0].system = 7;
		defaultProfiles[0].alarm = 7;
		
		defaultProfiles[1] = new Profile();
		defaultProfiles[1].voice = 5;
		defaultProfiles[1].media = 3;
		defaultProfiles[1].ringer = 4;
		defaultProfiles[1].vibrateAlert = true;
		defaultProfiles[1].useRingerAsAlert = false;
		defaultProfiles[1].alert = 4;
		defaultProfiles[1].vibrateAlert = false;
		defaultProfiles[1].system = 5;
		defaultProfiles[1].alarm = 5;
		
		defaultProfiles[2] = new Profile();
		defaultProfiles[2].voice = 3;
		defaultProfiles[2].media = 0;
		defaultProfiles[2].ringer = 0;
		defaultProfiles[2].vibrateAlert = true;
		defaultProfiles[2].useRingerAsAlert = true;
		defaultProfiles[2].alert = 0;
		defaultProfiles[2].vibrateAlert = true;
		defaultProfiles[2].system = 0;
		defaultProfiles[2].alarm = 3;
		
		defaultProfiles[3] = new Profile();
		defaultProfiles[3].voice = 6;
		defaultProfiles[3].media = 12;
		defaultProfiles[3].ringer = 6;
		defaultProfiles[3].vibrateAlert = true;
		defaultProfiles[3].useRingerAsAlert = true;
		defaultProfiles[3].alert = 6;
		defaultProfiles[3].vibrateAlert = true;
		defaultProfiles[3].system = 5;
		defaultProfiles[3].alarm = 6;
		
		defaultProfiles[4] = new Profile();
		defaultProfiles[4].voice = 2;
		defaultProfiles[4].media = 0;
		defaultProfiles[4].ringer = 0;
		defaultProfiles[4].vibrateAlert = false;
		defaultProfiles[4].useRingerAsAlert = false;
		defaultProfiles[4].alert = 0;
		defaultProfiles[4].vibrateAlert = false;
		defaultProfiles[4].system = 0;
		defaultProfiles[4].alarm = 5;
	}
}
